package com.sporadic.client.service.impl;

import com.sporadic.client.mapper.CouponMapper;
import com.sporadic.client.pojo.Coupon;
import com.sporadic.client.service.CouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CouponServiceImpl implements CouponService {
    @Autowired
    private CouponMapper couponMapper;

    @Override
    public List<Coupon> selCouponAll(Integer couponMerchant) {
        return this.couponMapper.selCouponAll(couponMerchant);
    }
}
